package com.h6.crm.util.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema.RequiredMode;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "查询客户信息实体")
@Data
public class QueryClientVO {

    @Schema(description = "客户名")
    String clientName;

    @Schema(description = "当前页", requiredMode = RequiredMode.REQUIRED)
    @NotNull(message = "当前页不能为空！")
    Integer page;

    @Schema(description = "页数", requiredMode = RequiredMode.REQUIRED)
    @NotNull(message = "页数不能为空！")
    Integer pageSize;
}
